Part Number Hot Search : 
SB772S TC58NV 10M25B R3002 SBT2907 ET6202 7039A VHCT74A
Product Description
Full Text Search
 

To Download SI7013EVB-UDP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. 0.2 9/13 copyright ? 2013 by silicon labs si7005evb-udp/si7005evb-udp-f960 SI7013EVB-UDP SI7013EVB-UDP-f960 SI7013EVB-UDP/SI7013EVB-UDP-f960 user?s guide 1. introduction this user's guide describes the hardware and software included with the SI7013EVB-UDP and SI7013EVB-UDP-f960 evaluation kits. the si7013eb-udp port header card contains an si7013 sensor. the port header card plugs into a unified development platform (udp) c8051f960/si1020 mcu card with multiplexed lcd (upmp-f960-mlcd). this user's guide is included in two evaluation kits: ?? SI7013EVB-UDP ?? SI7013EVB-UDP-f960 note: si7013eb-udp refers to the board. SI7013EVB-UDP refers to the kit. the SI7013EVB-UDP-f960 kit contains a port header card and an mcu card. the SI7013EVB-UDP kit contains only the port header card. the SI7013EVB-UDP kit is for customers who already have the mcu card from the c8051f960-a-dk kit. 2. hardware description the si7013 temperature and humi dity sensor uses standard i 2 c protocol which is a two wire bidirectional communication protocol with control signals scl and sda. for more information about the si7013, refer to the si7013 data sheet. temperature can be read from the inte rnal temperature sensor or from an external thermistor. figure 1 shows the si7013eb-udp port card and figure 2 shows the si7013eb-udp plugged into a c8051f960/si1020 mcu card (upmp-f960 -mlcd). as will be explained in mo re detail below, the si7013eb-udp can be used with other s ilicon laboratories unifie d development platforms. figure 1. si7013eb-udp port header card
SI7013EVB-UDP SI7013EVB-UDP-f960 2 rev. 0.2 figure 2. si7013eb-udp port header card plugged into a udp c8051f960/si1020 mcu card with multiplexed lcd
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 3 2.1. si7013eb?udp schematics and bom figure 3 shows the schematics of the si7013eb-udp port h eader card. vdd is connected to port pin 17 and gnd is connected to port pin 16. this is the standardized loca tion for power and ground on silicon laboratories udp port headers. for port headers with only 8 port pins, t he card can be offset with power and ground pins connecting properly and pins 1?8 of the si7013eb-udp overhanging. by default, the on board si7013 (u1) connects sda to port pin p1.5, scl to p1.6 and cs to p1.7. there is an optional 6 pin flat flexible header connector j2 that ca n connect to an external ?postage stamp? size evaluation board for si7013, si7020, or si7021. the ?postage stamp? si ze evaluation boards and a 3-fo ot flat flexible cable are included with the si7013usb-dongle evaluation ki t (ordered separately). the optional si7013 postage-stamp-size evb would have sda connect to port pin 1.3 scl to p1.4 and cs to p1.2. the bom for the si7013eb-udp is shown in table 1. table 1. si7013-udp bill of materials qty ref value rating tol type pcb footprint mfr part number mfr 1 c1 4.7uf 6.3 v 20% x5r c0603 c0603x5r6r3-475m venkel 3 c2, 3, 4 0.1uf 10 v 20% x7r c0402 c0402x7r160-104m venkel 1 j2 fh12 fh12 conn6n-fpc/ ffc-p0.5 fh12-6s-0.5sh(55) hirose 1j3conn socket 2x9 socket ssw-109-02-f-d-ra samtec 3 r1, r2, r13 10k 1/16 w 5% thickfilm r0402 cr0402-16w-1002j venkel 2 r3, r4 2k 1/16 w 5% thickfilm r0402 cr0402-16w-2001j venkel 10 r5, r6, r7, r8, r9, r10, r11, r12, r15, r16, r19 0 1 a thickfilm r0402 cr0402-16w-000 venkel 1 u1 si7013 humidity qfn24 4x4p0.5 si7013-a-gm1 silicon labs
SI7013EVB-UDP SI7013EVB-UDP-f960 4 rev. 0.2 2.2. si7013eb-udp schematic thermistor interface remote thermistor remote thermistor vio gnd c4 0.1uf tp22 scl1 r8 0 tp12 tp5 vdd tp17 r3 2k tp30 vdd r4 2k tpv7 r17 24.3k tp6 tp13 r15 0 tp23 cs1 tp31 gnd r18 24.3k tp18 j4 nc r16 0 r7 0 j2 fh12 1 1 2 2 3 3 4 4 5 5 6 6 tp7 tp14 -t r14 10k tp2 gnd j3 conn socket 2x9 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 13 13 15 15 12 12 14 14 16 16 17 17 18 18 j5 nc tp24 sda2 tp8 tp19 tp15 u1 si7013 sda 1 add/vout 2 vdda 8 vinn 7 gndd 3 vsns 5 vddd 9 vinp 6 scl 10 epad 11 gnda 4 j6 nc r5 0 r10 0 tp28 vinp r9 0 r11 0 tp9 tp20 tp27 tp25 scl2 tp29 vinn r12 0 r13 10k tp3 scl tp10 r6 0 r19 0 tp21 sda1 c2 0.1uf c3 0.1uf tp4 sda r1 10k tp26 cs2 tp16 c1 4.7uf tp11 r2 10k tp1 cs/intb figure 3. si7013eb-udp schematic
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 5 2.3. extending battery life the data logger demo will work for seve ral days on a fresh battery once disc onnected from the pc. at the default sample rate of once per two minutes, the 8196 point storage buff er will fill at about 11.4 days; so, generally, the buffer will not fill before the battery runs out. in a real application where it might be desirable to extend battery life and record data for longer time periods, the following steps are recommended: 1. reduce the interval betwee n samples so the buffer will not fill during the time period desired. 2. although powered down, the usb interface a nd level translators (u4, u5, and u63 of the c8051f960/si1020 mcu card with multiplexed lcd mcu) consume power and are not needed in operation. (see figure 10 of the upmp-f960-mlcd us er?s guide.) these can be disconnected from the power supply except when the data log is being read or configured. 3. software description the si7013 evaluation kit (SI7013EVB-UDP or si7013 evb-udp-f960) contains two software projects: ?? demo software ?? data logger the purpose of the demo software is to provide simple example code. the data logger project provides a more full featured demonstration of the si7013's capability. 3.1. demo software the si7013 unified development plat form (udp) demo software runs on a udp c8051f960/si1020 mcu card (upmp-f960-mlcd). the mcu card may be plugged into a udp motherboard, but this is not necessary. a si7013 port header card (si7013eb-udp) is plugged into the mcu card. the demo reads the temperature and humidity from the si7013 port header card and displays them on the mcu card?s lcd. the user may press the sw1 button to toggle the displayed temperature between celsius and fahrenheit. the user may press the sw2 button to switch the displayed temperature from the internal temperature sensor and the external thermistor. if the thermistor te mperature is displayed, then a dot is shown after the temperature. 3.1.1. running the demo software the ?si7013 udp f960 evaluation board documentation and software? cd contains the source code for the demo software. however, you do not need to build the demo software, because the cd also contains a pre-built image file and a batch file to download the image file to the mcu card. 1. plug the si7013 po rt header card on to j11 of the mcu card. the silicon la bs logo on the port header card faces the battery on the mcu card. 2. connect the usb debug adapter to a usb port on the pc and connect the usb debug adapter to the debug connector (j13) on the mcu card. 3. connect the power supply to the mcu board (p1). 4. table 2 lists the correc t mcu card switch settings: 5. open windows explorer and change to the project folder: \udp_software_vx.x\demo\f960\ (where vx.x is the version number of the udp software) table 2. mcu card switch settings switch label number setting vbat sel sw5 vreg viorf select sw12 vbat vio select sw7 vbat
SI7013EVB-UDP SI7013EVB-UDP-f960 6 rev. 0.2 6. double-click on the ?install_si70 xx.bat? file in the project folder. this opens a command window and downloads the pre-built image file (udp_demo_si70xx.hex) to the mcu card. 7. if the command window says ?could not connect with the board. unknown device.,? then the mcu may be in sleep mode. the flash ut ility cannot talk to the mcu while it is sleeping. you must pause the mcu before running the batch file. turn off the mcu board (vbat sel to udp), press and hold sw4, and then turn on the mcu board (vbat sel to vreg). the lcd displays ?paused?. while continuing to hold sw4, double-click on the ?install_si70xx.ba t? file. when the command window says ?press any key to continue?, then release sw4. 8. the download is complete when the command window says ?press any key to continue?. press any key to close the command window. the demo software displays temperature and humidity on the lcd. the lcd is updated twice a second with new temperature and humidity readings. if you prefer the temp erature to be displayed in fahrenheit, then press the sw1 button. the demo software is now installed on the mcu card and the usb debug adapter is no longer needed. disconnect the usb debug adapter from the debug connector on the mcu card. 3.1.2. source code for the demo software the source code for the demo software consists of eight components: ?? main ?? sensor ?? power management ?? real time clock ?? tick counter ?? port match ?? lcd driver ?? i 2 c driver 3.1.2.1. main the main component is the entry point for the demo soft ware and it calls routines in the other components to implement the application. the main component is implemented in a single file: main.c the demo software is written to have the longest battery life possible. the demo software uses the internal low-power oscillator and it puts the mcu into the lowest power mode (sleep ) between sensor reads. the main() routine begins by initializ ing the mcu and the other components. it then configures a real time clock (rtc) alarm to wake up the mcu twice a second. the po wer manager is configured to wake up when an rtc alarm occurs or when a port match occurs. the main() routine then enters an infinite loop where it alternates between sleeping the mcu, and reading and displaying the temperature and humidity. 3.1.2.2. sensor the sensor component provides routines for reading te mperature and humidity from an si7013 device and is implemented in a single file: sensor_si70xx.c the sensor component provides the following routines : sensor_readtemperature(), sensor_readthermistor(), and sensor_readhumidity(). these routines call the sens or_measure() routine to take a measurement and return the value from the si7013?s data register. the sensor _readtemperature() and sensor_readthermistor() routines convert the returned value to deci-degrees celsius. the sensor_readhumidity() ro utine converts the returned value to deci-percent relative humidity. the sensor component also provides the sensor_sleep() and sensor_wakeup() routines. these routines are not needed by the si7013 because the si7013 automatically sleeps between commands. the demo software does not use floating point numbers be cause the floating point library is large and slow. the
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 7 demo software avoids floating point numbers by using deci-units. a deci-unit is one tenth of a unit. th e sensor_readhumidity() routine returns the humidity in deci-percent rh and the sensor_readtemperature() routine returns the temp erature in deci-degrees celsius. for example, 43.7 percent rh is 437 deci-percent rh. likewise, 25.4 degrees celsius is 254 deci-degrees celsius. the demo software uses equations that are derived fr om the equations in the si7013 data sheet. the derived equations are modified to use deci-units. 3.1.2.3. power management the power management component is implemented in a single file called powermanagement.c and contains the routines, lpm_enable_wakeup() and lpm_disable_wakeup(), for entering and exiting low-power modes. these routines configure which events will wake up the mcu from low-power mode (lpm). the lpm() routine puts the mcu into the specified lo w-power mode. the mcu rema ins in the lo w-power mode until one of the configured wake up events occurs. when the mcu wakes up, then the lpm() routine examines the mcu registers to determine which event caused the wake up and sets the appropriate wakeup global variable. the lpm() routine then returns to the caller. the caller may examine the wakeup global variables to find out which event caused the wake up. 3.1.2.4. real time clock the real time clock (rtc) component uses the smart clock peripheral to wake up the mcu from low-power modes. the real time clock component is implemen ted in a single file called smartclock.c. the real time clock component contains the rtc_read() and rtc_write() routines for reading and writing rtc registers. rtc registers are not mcu special function registers (sfrs), but must be accessed indirectly using the sfrs. the rtc_read() and rtc_write() routines perfor m the indirect reads and writes of the rtc registers. the rtc timer can be read and written with the rtc_capure timer() routine and the rtc_settimer() routine. the rtc timer is a 32-bit counter, which increments at a 32. 768 khz rate. the rtc timer continues to increment when the mcu is in low-power mode. the rtc_writealarm() and rt c_readalarm() routines allows rtc alarms to the written and read. when the rtc timer value equals an alarm value, then an rtc alarm event occurs. 3.1.2.5. tick counter the tick counter compo nent provides delay an d timeout capabilities. the tick counter component is implemented in a single file called tick.c. timer 2 is configured to in terrupt once a millisecond. the timer 2 inte rrupt handler incremen ts an unsigned 16-bit variable named tickcounter. the tick counter wraps around about every 65 seconds. the current value of th e tick counter is obtained by calling tick count(). timeouts are implemented by calling tickcount() to get a starting time an d then repeatedly calling elapsedtime() to get the number of milliseconds that have elapsed since the starting time. the delay() routine does no t return until the specifie d number of milliseconds have elapsed. 3.1.2.6. port match the port match component changes the temperature scale between celsius and fahrenheit when the user presses the sw1 button. in addition, the sw2 button sw itches the temperature readings between the internal sensor and the external thermistor. the port match component is implemente d in a single file called portmatch.c. the sw1 button on the mcu board is connected to bit 0 of po rt 0 (p0.0). this bit is high when the button is not pressed, but when the button is pressed the bit goes lo w. the sw2 button is connected to bit1 of port0 (p0.1). the mcu is configured to generate a port match interr upt when p0.0 or p0.1 goes low. if the mcu is sleeping when a button is pressed, then the port match event wa kes up the mcu and the port match interrupt handler is called. when the interrupt handler detects that a button has been pressed, then the interrupt handler reconfigures the port match to detect when the button is released. this prevents a large number of useless port match interrupts while the button is held down.
SI7013EVB-UDP SI7013EVB-UDP-f960 8 rev. 0.2 3.1.2.7. lcd driver the lcd driver contains routines for displayi ng characters, strings, and numbers on the lcd. the lcd driver is impl emented in four files: ?? lcdconfig.c ?? lcdputchar.c ?? lcdputstring.c ?? lcdputnumber.c the lcd driver provides the routines lcdputchar(), lcdput string() and lcdputnumber() for displaying characters, strings and numbers on the lcd. the lcdputnumber.c file also contains the routines lcdputtemperature() and lcdputhumidity() for displaying temperature and humidity on the lcd. the demo software does not use the printf() routine, because the printf() routine is very large and slow. instead, the lcdputhumidity() and lcdputtemperature() routines use the lcdputnumber() routine, which is much smaller and quicker. the lcdputtemperature() routine formats the te mperature such that it is displayed with the greatest possible resolution. 3.1.2.8. i 2 c driver the i 2 c driver provides routines for re ading and writing registers on an i 2 c slave device. the i 2 c driver is implemented in a single file called i2c.c. the i2c_readbyte() routine and the i2c_writebyte( ) routine read and write 8-bit registers on an i 2 c slave device. the demo software uses these routines to access most registers on the si7013. the i2c_readdata() routine and i2c_writedata() routine perform multi-byte reads and writes from an i 2 c slave device. the demo software uses the i2c_readbyte() rout ine to read the 16-bit data register on the si7013. the si7013 daughter card has two i 2 c buses. the first bus is connected to the onboard si7013 device. the second bus is connected to the flat fl exible cable (ffc) connector (j2) on the side of the board. a second si7013 device can be attached to the ffc connecto r. the ?bus? parameter in each of the i 2 c routines selects which bus to use (i2c_bus_1 or i2c_bus_2). 3.2. data logger the si70xx data logger demonstrates how the c8051f960 microcontroller unit (mcu) and the si7013 sensor can be used to record temperature and humidity over an ex tended period of time. this project includes data logger firmware that runs on a c8051f960/si1020 mcu card (upmp-f960-mlcd) and a data logger application that runs on a pc. the data logger firmware reads the temperature and humidity from an si7013 port header card (si7013eb-udp), which is plugged into the mcu card, an d stores the samples in the mcu's flash memory. the flash memory can store up to 8192 samples. the data logger application displays the samples on a graph. 3.2.1. installing the data logger there are three st eps to installing the data logger: 1. install the data logger firmware on the mcu card. 2. install cp210x drivers on the pc. 3. install the data logger application on the pc. 3.2.1.1. installing the data logger firmware the ?si7013 udp f960 evaluation board documentation a nd software? cd contains the source code for the data logger firmware. however, you do not need to build the data logger firmware, because the cd also contains a pre-built image file and a batch file to download the image file to the mcu card. 1. plug the si7013 po rt header card on to j11 of the mcu card. the silicon la bs logo on the port header card faces the battery on the mcu card. 2. connect the usb debug adapter to a usb port on the pc and connect the usb debug adapter to the debug connector (j13) on the mcu card. 3. connect the power supply to the mcu board (p1). 4. table 3 lists the correc t mcu card switch settings:
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 9 5. open windows explorer and change to the project folder: \udp_software_vx.x\datalogger\fw\f960\ (where vx .x is the version number of the udp software) 6. double-click on the ?install_si70 xx.bat? file in the project folder. this opens a command window and downloads the pre-built image file (udp_d atalogger_si70xx.hex) to the mcu card. 7. if the command window says ?could not connect with the board. unknown device.?, then the mcu may be in sleep mode. the flash ut ility cannot talk to the mcu while it is sleeping. you must pause the mcu before running the batch file. turn off the mcu board (vbat sel to udp), press and hold sw4, and then turn on the mcu board (vbat sel to vreg). the lcd displays ?paused?. while continuing to hold sw4, double-click on the ?install_si70xx.ba t? file. when the command window says ?press any key to continue?, then release sw4. 8. the download is complete when the command window says ?press any key to continue?. press any key to close the command window. the data logger firmware displays temperature and humidit y on the lcd. the lcd is updated twice a second with new temperature and humidity readings. if you prefer the temperature to be displayed in fahrenheit, then press the sw2 button. the data logger firmware is now installed on the mcu card and the usb debug adapter is no longer needed. disconnect the usb debug adapter from the debug connector on the mcu card. 3.2.1.2. installing cp210x drivers the mcu card contains a cp2102 usb-to-uart bridge chip . the data logger application uses a virtual com port (vcp) on the pc to send serial packets to the cp2102 ov er usb. the cp2102 then uses its uart to forward the packets to the data logger firmware. this section installs two drivers on the pc: ?? cp210x vcp driver ?? cp210x usb-to-uar t bridge driver perform the following steps to install these drivers: 1. run the following program from the ?udp_softwar e_vx.x? folder of the ?si7013 udp evaluation board documentation and software? cd: cp210x_vcp_win_xp_s2k3_vista_7.exe 2. use the installshield wizard to install the vcp driver. table 3. mcu card switch settings switch label number setting vbat sel sw5 vreg viorf select sw12 vbat vio select sw7 vbat
SI7013EVB-UDP SI7013EVB-UDP-f960 10 rev. 0.2 figure 4. installshield wizard 3. at the ?installshield wizard co mplete? window, make sure that ?launch the cp210x vcp driver installer? is checked; then click on the ?finish? button. this be gins the installation of the usb-to-uart bridge driver. figure 5. installshield wizard complete window 4. when the installation of the bridge driver is complete, finalize the installation by connecting the mcu card to the pc with a usb cable.
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 11 3.2.1.3. installing the data logger application perform the following steps to install the data logger ap plication from the ?udp_software_vx.x? folder of the ?si7013 udp evaluation board documentation and software? cd. 1. run the following program from the ?si7013 udp evaluation board? cd: dataloggersetup_vx.x.exe (where x.x is the latest version number) 2. accept the software license agreement by clicking on the ?yes? button. figure 6. software license agreement 3. use the si70xx data logger setup wizard to install the application.
SI7013EVB-UDP SI7013EVB-UDP-f960 12 rev. 0.2 figure 7. si70xx data logger setup wizard 3.2.2. using the data logger when running the data logger firmware for the first time, the firmware takes a sample every two minutes but does not store the samples in the log. to start storing samples, press the sw3 button. each sample includes temperature, humidity, and a time stamp. the firmware?s clock has not yet been set; so, time stamps begin at midnight january first 2000. you may use the data log ger application to display the stored samples. the application can also set the firmware?s clock and adjust the time between samples. the typical procedure for using the data logger is as follows: 1. connect the mcu card to the pc with a usb cable. 2. use the data logger application to stop logging and erase the log. 3. set the time and the desired sample interval. 4. ensure the mcu card is set up to use the onboard battery. 5. disconnect the mcu card from th e pc and take it to the location where you want to take samples. 6. press the sw3 button on the mcu card to start logging. 7. wait while samples are logged. 8. press the sw3 button on the mcu card to stop logging. 9. take the mcu card back to the pc and reconnect it to the pc. 10. use the data logger application to display the log data. 11. save the log data to a file. the data logger firmware can generate alarms when the temperature or humidity gets too high or too low. when an alarm occurs, the data logger firmware displays a flas hing message on the lcd and pulses an output pin. if a buzzer is connected to the output pin, an audible alarm is produced. the data logger application can configure the thresholds for the alarms.
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 13 3.2.2.1. using the data logger application the data logger application runs on a pc and is used to configure the data logger firmware. the data logger application can also display the log data. the data logger application uses the rts signal on the mcu card to wake up the data logger firmware. the mcu card must be configured such that p0.6 is used for rts. to do this, move the shorting block from j18 to p2 as shown in figure 8. figure 8. configuring the mcu card to run the data logger application from the start menu, select start ? silicon laboratories ? si70xx data logger. this opens up the data logger application shown in figure 9.
SI7013EVB-UDP SI7013EVB-UDP-f960 14 rev. 0.2 figure 9. data logger application the left side of the application window is used to config ure the data logger firmware. the right side of the application window is used to display log data. 3.2.2.1.1. data logger status the data logger status box shown in figure 10 displays the status of the data logger firmware. figure 10. data logger status box if there are no alarms or errors, this box displays ?ok?. if there is an alarm, this box displays an alarm message. if the status is ?communications error?, this means the mcu card cannot communicate with the si7013 port header card.
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 15 3.2.2.1.2. sensor data the sensor data box shown in figure 11 displays the current humidity and temperature. figure 11. sensor data box this box displays the temperature and humidity from the most recent sample. the celsius and fahrenheit radio buttons select whether the temperatures displayed in this box, the thresholds box, and the log data box are in celsius or fahrenheit. these radio buttons do not affect how temperatures are displayed in the lcd. 3.2.2.1.3. data logger time the data logger time box shown in figure 12 is used to set the time in the data logger firmware. figure 12. data logger time box the upper part of this box displays the current time and current time zone of the data logger firmware. the 12 hour and 24 hour radio buttons select the format of the time displayed in this box and in the log data box. the ?set data logger to pc time? button sets the time of the data logger firmware to the time of the pc. this button also sets the time zone in the data logger firmware to the time zone of the pc. the data logger firmware does not use the time zone informati on; it is simply used to document the context of the time stamps in case the data logger travels to different time zones. 3.2.2.1.4. sample interval the sample interval box shown in figure 13 is used to configure how often samples are taken. figure 13. data logger time box this text box displays the current setting of the sample interval. to change the sample interval, enter a number into the text box, select "seconds" or "minutes", and then click on the "set" button. the sample interval may be from 1 second to 1092 minutes (18 hours).
SI7013EVB-UDP SI7013EVB-UDP-f960 16 rev. 0.2 3.2.2.1.5. logging the logging box shown in figure 14 is used to control the log in the data logger firmware. figure 14. logging box the upper part of this box displays the current number of samples in the log. the data logger firmware constantly takes samples and displays them on the lcd. if logging is enabled, the samples are also saved in the lo g. samples continue to be taken when logging is disabled. if logging is enabled, the left button says ?stop loggin g?, and logging is disabled if this button is clicked. if logging is disabled, the left button says ?start logging?, and logging is enabled if this button is clicked. note: logging may also be enabled and disabled with the sw3 button on the mcu card. the ?erase log? button deletes all the samples in the log. 3.2.2.1.6. information the information box di splays version and ident ification information. figure 15. information box 3.2.2.1.7. thresholds the thresholds box is used to configure alarm thresholds. a humidity alarm occurs if the humidity is greater than the high humidity threshold or less than the low humidity threshold. a temperature alarm occurs if the temperatur e is greater than the high temperature threshold or less than the low temperature threshold. the thresholds box displays the current threshold settings. if a text box is empty, that threshold is not used. if all text boxes are empty, then no humidity or temperature alarms are generated by the data logger firmware. to set the thresholds, enter numbers into the text boxes and then click on the ?set thresholds? button. if you do not want to use a particular threshold, then make that text box empty, and click on the ?set thresholds? button. a humidity threshold may be from 0 to 100. a temperature threshold may be from ?40 to 85 if the celsius radio button is selected and from ?40 to 185 if the fahrenheit radio button is selected.
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 17 3.2.2.1.8. log data the log data box shown in figure 16 displays log data in humidity and temperature graphs. figure 16. log data box temperature and humidity graphs the ?get log data? button transfers all of the samples from the mcu card to the pc and displays them in the humidity and temperature graphs. the application also di splays the minimum, maximum, and average values for temperature and humidity. the ?save log data? button saves the log data to a file in comma-separated value (csv) format. a dialog box allows you to specify the name and lo cation of the file. the ?restore log data? button allows you to redisplay a csv file that was previously saved with this application. if you want to zoom into an area of a graph, then create a dashed box around the area by dragging the left mouse button across the graph as shown in figure 17.
SI7013EVB-UDP SI7013EVB-UDP-f960 18 rev. 0.2 figure 17. zooming in on a portion of the graph the graph will zoom in to the selected area. you may pan around the graph by first holding the ctrl key, then dragging the graph with the left mouse button. you may also use the mouse wheel to zoom in and out. if you click a graph with the right mouse button, a co ntext menu is displayed as shown in figure 18. figure 18. context menu the context menu allows you to unzoom the graph. the context menu also lets you save and print images of the graph. if you select ?show point values? from the context menu and hover the mouse over the graph line, a tool tip displays the time and value for that point on the graph as shown in figure 19.
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 19 figure 19. sample time and value 3.2.2.2. using the data logger firmware the data logger firmware runs on an mcu card where it logs temperature and humidity data. the data logger firmware also generates alarms if the temper ature or humidity become too high or too low. the user interface for the data logger firmware uses buttons, lcd displays, and an output pin to sound a buzzer. 3.2.2.2.1. buttons the data logger firmware shown in figure 20 uses three buttons and an led. figure 20. data logger firmware buttons the sw1 button changes the information that is displa yed on the lcd. the lcd rotates through the following displays: ?? temperature and humidity ?? date ?? time ?? sample count if there is an alarm, the data logger firmware displays a flashing alarm message on the lcd. the alarm message can be dismissed by pressing the sw1 button. this allows the normal displays to be seen (until the next alarm occurs). the sw2 button toggles the displayed temp erature between celsius and fahrenheit.
SI7013EVB-UDP SI7013EVB-UDP-f960 20 rev. 0.2 the sw3 button starts and stops logging. if logging is disabled, pressing the sw3 button enables logging. if logging is enabled, pressing the sw3 button disables loggi ng. if logging is enabled, samples are stored in the log. the data logger firmware blinks led4 wh en a sample is taken. this allows you to verify that samples are being taken at the expected rate. if the data logger application is not connected to the mcu ca rd, then led4 is off (except for occasional blinks). if the data logger application is connected to the mcu card, then led4 is on (except for occasional blinks). this allows you to verify that th e data logger application is successfully co mmunicating with the data logger firmware. 3.2.2.2.2. lcd displays there are five lcd displays for temperature and humidity, date, time, sample count, and alarm. 3.2.2.2.2.1. temperature and humidity display this display shows the temperature and humidity from the most recent sample. figure 21. temperature and humidity display you can press the sw2 button to switch the temperature between celsius and fahrenheit. 3.2.2.2.2.2. date display this display show the current date. figure 22. date display the date is formatted as month/day/year. 3.2.2.2.2.3. time display this display shows the current time. figure 23. time display the format of the time is hours : minutes : seconds a or p. this display allows you to verify that the time is set correctly.
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 21 3.2.2.2.2.4. sample count display this display shows the current number of samples in the log. figure 24. sample count display this display also indicates if logging is enabled. if logging is enabled, a dot is displayed to the right of the number. 3.2.2.2.2.5. alarm display when an alarm occurs, the lcd displays a fl ashing alarm message as shown in figure 25. figure 25. alarm display an alarm message shows the offending temperature or humidity on the left and the word ?hi? or ?low? on the right. the above alarm message indicates that there is high te mperature alarm and that the high temperature is 35.0c. if both a temperature alarm and a humidity alarm occur at the same time, the lcd alternates between the two alarm messages. if the alarm message says ?comm err?, then the data logger firmware has faile d to communicate with the si7013 port header card. please verify that the port header card is properly plugged into the mcu card.
SI7013EVB-UDP SI7013EVB-UDP-f960 22 rev. 0.2 3.2.2.2.3. output pin when a sample is taken that causes an alarm, the data lo gger firmware pulses the output pin low. the output pin may be used to signal an external device or to sound a buzzer. the output pin is p1.0, which is availa ble at the pc0 screw terminal of the pulse counter connector (j14). the output pin is normally 3.3 v, but, wh en an alarm occurs, it goes to 0 v for 500 ms. the data logger firmware configures the output pin for high drive strength, so it can sink up to 80 ma. note: a buzzer is not included with the evaluation kit. if you purchase a buzzer, make sure the buzzer works with 3 v and not 12 v. figure 26. optional 3 v buzzer
SI7013EVB-UDP SI7013EVB-UDP-f960 rev. 0.2 23 4. additional reference resources ?? si7013 data sheet ?? an607: si70xx humidity sensor designers guide ?? si7013usb-dongle users guide ?? c8051f96x data sheet ?? udp c8051f960/si1020 mcu card wit h multiplexed lcd user?s guide
SI7013EVB-UDP SI7013EVB-UDP-f960 24 rev. 0.2 c ontact i nformation silicon laboratories inc. 400 west cesar chavez austin, tx 78701 tel: 1+(512) 416-8500 fax: 1+(512) 416-9669 toll free: 1+(877) 444-3032 please visit the silicon labs technical support web page: https://www.silabs.com/support/pages/contacttechnicalsupport.aspx and register to submit a technical support request. patent notice silicon labs invests in research and developm ent to help our customers differentiate in the market with innovative low-power, s mall size, ana- log-intensive mixed-signal solutions. si licon labs' extensive patent portfolio is a testament to our unique approach and world- class engineering team. silicon laboratories and silicon labs are trademarks of silicon laboratories inc. other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders. the information in this document is believed to be accurate in all respects at the time of publ ication but is subject to change without notice. silicon laboratories assumes no responsibili ty for errors and omissions, and disclaim s responsibility for any consequences resu lting from the use of information included herein. a dditionally, silicon laboratorie s assumes no responsibility for the functioning of und escribed fea- tures or parameters. silicon laboratories reserves the right to make changes without further notice. silicon laboratories makes no warran- ty, representation or guarantee regarding t he suitability of its products for any par ticular purpose, nor does silicon laborato ries assume any liability arising out of the application or use of any product or circuit, and specif ically disclaims any and all liability, in cluding without limitation consequential or incidental damages . silicon laboratories products are not designed, intended, or authorized for use in applica tions intend- ed to support or sustain life, or for any other application in which the failure of the silicon laboratories product could crea te a situation where personal injury or death may occur. should buyer purchase or us e silicon laboratories products for any such unintended or unaut horized application, buyer shall indemnify and hold silicon laboratories harmle ss against all claims and damages.


▲Up To Search▲   

 
Price & Availability of SI7013EVB-UDP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X